import request from '@/utils/request'

export function getOrderList(query){
  return request({
    url:'/order/list',
    method: 'get',
    params: query
  })
}

export function getDicDistrict(){
  return request({
    url: '/district',
    method: 'get'
  })
}

export function updateOrder(data){
    return request({
        url: '/order/update',
        method: 'post',
        data
    })
}